import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter)
import routes from './views/routes';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import jQuery from 'jquery'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min'

Vue.use(ElementUI)
routes.push({path:'/',component:routes[1].component});

routes.push({path:'/',component:routes[1].component});

Vue.config.debug = true; //开启错误提示
new Vue({
	el: '#app', // 如果不渲染，那么久改为document.getElementById试下
	data(){return {}},
	router: new VueRouter({routes:routes})
})